package fashionshop.gui;

import java.awt.BorderLayout;
import java.awt.EventQueue;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JFrame;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;

import org.xnap.commons.gui.CloseableTabbedPane;

public class FashionShopMainFrame extends JFrame {

	private JPanel contentPane;

	private CloseableTabbedPane tabbedPane;
	private JMenuItem mntmAbc;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					FashionShopMainFrame frame = new FashionShopMainFrame();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public FashionShopMainFrame() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 718, 429);

		JMenuBar menuBar = new JMenuBar();
		setJMenuBar(menuBar);
		
		mntmAbc = new JMenuItem("ABC");
		menuBar.add(mntmAbc);

		JMenuItem mntmFile = new JMenuItem("File");
		mntmFile.addActionListener(new ActionListener() {

			// @Override
			public void actionPerformed(ActionEvent e) {
			}
		});

		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(new GridLayout(1, 0, 0, 0));

		tabbedPane = new CloseableTabbedPane();
		contentPane.add(tabbedPane);
	}

}
